package com.glp.work.flow.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author pengjia
 * @version 2020年6月8日 上午9:10:54
 */
@Data
@ApiModel("用户任务")
public class UserTaskDto implements Serializable {

    private static final long serialVersionUID = 5999739487215343602L;

    @ApiModelProperty("节点名称")
    private String taskName;
    @ApiModelProperty("节点定义KEY")
    private String taskDefKey;
    @ApiModelProperty("用户")
    private String userName;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("消耗时间")
    private String timeConsuming;

    @ApiModelProperty("审批操作")
    private String auditOperation;

}
